package com.zonhar.autofeed.runner;

import com.zonhar.autofeed.common.device.hcsr04.HcsrTask;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Component
@Order(value = 1)
public class CommandLineRunnerImpl implements ApplicationRunner {

    private final static Logger log = LoggerFactory.getLogger(CommandLineRunnerImpl.class);

   @Autowired
   private HcsrTask hcsrTask;

    @Override
    public void run(ApplicationArguments args) throws Exception {
        //hcsrTask.csrRun();
    }



}
